package cn.itsource.blog.dto;

import cn.itsource.blog.domain.LoginInfo;
import cn.itsource.blog.domain.Menu;
import cn.itsource.blog.domain.Permission;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Payload {
    private LoginInfo loginInfo;
    private List<Menu> menus = new ArrayList<>();
    private List<Permission> permissions = new ArrayList<>();
}
